package com.lemontree.spring4.day04;

import org.springframework.beans.factory.annotation.Autowired;

@Lemontree
public class Bean2 {

    @Autowired
    private Bean1 bean1;

    public void say2() {
        System.out.println("this is bean2");
        bean1.say();
    }
}
